﻿CREATE TABLE [PR].[LedgerPeriodLines] (
    [Id]           INT             IDENTITY (1, 1) NOT NULL,
    [PeriodId]     INT             NULL,
    [DocType]      INT             NULL,
    [DepartmentId] INT             NULL,
    [ContragentId] INT             NULL,
    [DocDate]      DATETIME        NULL,
    [NaklNumber]   VARCHAR (128)   NULL,
    [Summa]        DECIMAL (19, 2) NULL,
    [KassaId]      INT             NULL,
    PRIMARY KEY CLUSTERED ([Id] ASC)
);

